//
//  DDScrollViewController.h
//  BaiYing_Thinker
//
//  Created by 鹏 朱 on 15/10/13.
//  Copyright (c) 2015年 XKJH. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol DDScrollViewDataSource;

@interface DDScrollViewController : UIViewController
@property (nonatomic, weak) id <DDScrollViewDataSource> dataSource;

- (void)reloadData;
@end


#pragma mark - dataSource
@protocol DDScrollViewDataSource <NSObject>

- (NSUInteger)numberOfViewControllerInDDScrollView:(DDScrollViewController*)DDScrollView;
- (UIViewController *)ddScrollView:(DDScrollViewController*)ddScrollView contentViewControllerAtIndex:(NSUInteger)index;

@end
